package com.yupi.yuoj.model.dto.membership;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 会员购买请求
 *
 * @author <a href="https://github.com/liyupi">程序员鱼皮</a>
 * @from <a href="https://yupi.icu">编程导航知识星球</a>
 */
@Data
public class MembershipPurchaseRequest implements Serializable {

    /**
     * 套餐ID
     */
    private String planId;

    /**
     * 套餐名称
     */
    private String planName;

    /**
     * 时长（月数）
     */
    private Integer duration;

    /**
     * 价格
     */
    private BigDecimal price;

    private static final long serialVersionUID = 1L;
}